package 原型模式;

public class Square extends Shape {
   public Square(){
     type = "Square ";
   }
 
   @Override
   public void draw() {
      System.out.println("Inside Square ::draw() method.");
   }
}